<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>相册</title>

</head>
<body>
    <div id="fh5co-offcanvass">
        <a href="#" class="fh5co-offcanvass-close js-fh5co-offcanvass-close">隐藏<i class="icon-cross"></i> </a>

        <?php if(empty($_SESSION['username'])){ ?>
            <h1 class="fh5co-logo"><a class="navbar-brand" href="./index.php?c=index&a=login">登录 | 注册</a></h1>
        <ul>
            <li class="active"><a href="./index.php?C=index&a=index">首页</a></li>
            <!-- <li><a href="./index.php?C=index&a=index">关于</a></li> -->
            <!-- <li><a href="pricing.html">照片</a></li> -->
            <!-- <li><a href="./index.php?C=index&a=index">联系我们</a></li> -->
        </ul>
        <?php }else{ ?>
              <h1 class="fh5co-logo">
                  <a class="navbar-brand" href="./index.php?c=index&a=user_album&username=<?php echo $_SESSION['username']  ?>"><?php echo  $_SESSION['username']  ?>的个人中心</a></h1>
        <ul>
            <li class="active"><a href="./index.php?C=index&a=index">首页</a></li>
            <li><a href="./index.php?c=index&a=add">添加相册</a></li>
            <!-- <li><a href="./index.php?C=index&a=index">关于</a></li>
            
            <li><a href="./index.php?C=index&a=index">联系我们</a></li> -->
            <li><a href="./index.php?c=index&a=outlogin">注销</a></li>
        </ul>
        <?php } ?>

        <p class="fh5co-social-icons">
            <a href="#"><i class="icon-twitter"></i></a>
            <a href="#"><i class="icon-facebook"></i></a>
            <a href="#"><i class="icon-instagram"></i></a>
            <a href="#"><i class="icon-dribbble"></i></a>
            <a href="#"><i class="icon-youtube"></i></a>
        </p>
    </div>
</body>
</html>